﻿Imports System.ComponentModel
Imports System.Collections.ObjectModel

Public Class MainWindowDataContext
    Implements INotifyPropertyChanged

    Public Event PropertyChanged(ByVal sender As Object, ByVal e As System.ComponentModel.PropertyChangedEventArgs) Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged

    Public Sub FirePropertyChangedEvent(ByVal propertyName As String)
        RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(propertyName))
    End Sub

    Private _liveProgramList As New ObservableCollection(Of LiveProgram)
    Public ReadOnly Property LiveProgramList() As ObservableCollection(Of LiveProgram)
        Get
            Return _liveProgramList
        End Get
    End Property

    Private _communityList As New ObservableCollection(Of Community)
    Public ReadOnly Property CommunityList() As ObservableCollection(Of Community)
        Get
            Return _communityList
        End Get
    End Property

    Private _userSettings As New UserSettings
    Public ReadOnly Property UserSettings() As UserSettings
        Get
            Return _userSettings
        End Get
    End Property

End Class
